package com.flyoil.petromp.entity.entity_notice;

import com.flyoil.petromp.base.BaseEntity;

/**
 * Created by songzhiiyn on 2017/10/11.
 * 公告详情的实体类
 */

public class NoticeMessageEntity extends BaseEntity {


    /**
     * data : {"id":5,"title":"公告","username":"张三","content":"公告内容","isRead":true,"createdTimeLabel":"2017-11-27 22:50:27"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 5
         * title : 公告
         * username : 张三
         * content : 公告内容
         * isRead : true
         * createdTimeLabel : 2017-11-27 22:50:27
         */

        private int id;
        private String title;
        private String username;
        private String content;
        private String url;
        private boolean isRead;
        private String createdTimeLabel;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public boolean isRead() {
            return isRead;
        }

        public void setRead(boolean read) {
            isRead = read;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }


        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public boolean isIsRead() {
            return isRead;
        }

        public void setIsRead(boolean isRead) {
            this.isRead = isRead;
        }

        public String getCreatedTimeLabel() {
            return createdTimeLabel;
        }

        public void setCreatedTimeLabel(String createdTimeLabel) {
            this.createdTimeLabel = createdTimeLabel;
        }
    }
}
